package com.bean;

/**
 * @author 冥尘
 * 用户题库类
 */
public class UserTopic {
    private int utID; //题库id
    private int uID; //创建者id(创建者为用户类)
    private String tName; //题库名称

    @Override
    public String toString() {
        return "UserTopic{" +
                "utID=" + utID +
                ", uID=" + uID +
                ", tName='" + tName + '\'' +
                '}';
    }

    public UserTopic() {}

    public UserTopic(int uID, String tName) {
        this.uID = uID;
        this.tName = tName;
    }

    public UserTopic(int utID, int uID, String tName) {
        this.utID = utID;
        this.uID = uID;
        this.tName = tName;
    }

    public int getUtID() {
        return utID;
    }

    public void setUtID(int utID) {
        this.utID = utID;
    }

    public int getuID() {
        return uID;
    }

    public void setuID(int uID) {
        this.uID = uID;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }
}
